#include <iostream>
using namespace std;

int main()
{
	char c = 0;
	cin >> c;
	cout << "  " << c << endl;
	cout << " " << c << c << c << endl;
	cout << c << c << c << c << c << endl;
	return 0;
}

